<?php

namespace app\advertisement\controller;

use app\common\controller\PCBase;
use app\BaseController;//测试专用
use app\advertisement\logic\AdvcampaignLogic;
use think\facade\Db;
use Throwable;
use app\common\library\Upload;

class Advcampaign extends PCBase
{


    public function initialize(): void
    {
        parent::initialize();
    }

    /**
     * index
     * @throws Throwable
     */
    public function index()
    {
        $params     = $this->request->post();
        $AdvcampaignLogic = new AdvcampaignLogic();
        return $AdvcampaignLogic->index($params);
    }

    /**
     * export
     * @throws Throwable
     */
    public function export()
    {
        $params     = $this->request->post();
        $AdvcampaignLogic = new AdvcampaignLogic();
        return $AdvcampaignLogic->export($params);
    }

}
